package bean;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Sergio
 */
public class BeanOperaciones {
    
    
  
    
   double suma,resta,multiplicacion,division;
    
    
    public BeanOperaciones()
    {
        
     //sin argumentos   
        
       
}
     private double A,B,respuesta;
    
     public void SetA(double A)
         {
             this.A=A;
         }
         
            public double GetA()
         {
             return A;
         }
            
              public void SetB(double B)
         {
             this.B=B;
         }
         
            public double GetB()
         {
             return B;
         }
    

    public void SetSuma(double suma)
    {
        this.suma = suma;
    }
    
    public void SetResta(double resta)
    {
        this.resta =resta;
    }
     public void SetDivision(double division)
    {
        this.division = suma;
    }
     
      public void SetMultiplicacion(double A,double B)
    {
        this.multiplicacion = suma;
    }
      
      
      
      public double GetSuma()
      {
         suma= A+B;
          return suma;
      }
      
       public double GetResta()
      {
          
          resta=A-B;
          return resta;
      }
       
        public double GetMultiplicacion()
      {
          
          multiplicacion = A*B;
          return multiplicacion; 
      }
        
         public double GetDivision()
      {
          
          division=A/B;
          return division;
      }
         
        
    
}